#!/bin/sh
set -ex
project_root=$(git rev-parse --show-toplevel)
export GO111MODULE=on
export GOOS=js
export GOARCH=wasm
cd $project_root
go build -v -o static/wasm/main.wasm
